Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.user.registration.actions.contrib

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.user.registration.actions.contrib">

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
             point="actions">

    <action id="UserRegistration" link="view_admin-fragment.xhtml" label="admcommand.userregistration"
            order="55">
      <category>NUXEO_ADMIN</category>
      <filter-id>only_for_manager</filter-id>
    </action>

    <action id="UserRegistrationRequests" link="/incl/userregistration/requests_listing_all.xhtml"
            label="tab.userregistration.requests" order="10">
      <category>UserRegistration_sub_tab</category>
      <filter-id>only_for_manager</filter-id>
    </action>

    <action id="UserRegistrationConfiguration" link="/incl/userregistration/requests_configuration.xhtml"
            label="tab.userregistration.configuration" order="20">
      <category>UserRegistration_sub_tab</category>
      <filter-id>only_for_manager</filter-id>
    </action>

    <action id="UserRegistrationRequestsCreate"
            link="/incl/userregistration/default_requests_create.xhtml"
            order="220" label="tab.userregistration.requests.create">
      <category>TAB_MANAGE_sub_tab</category>
      <filter-id>manage</filter-id>
      <filter-id>mutable_document</filter-id>
      <filter-id>view_content</filter-id>
    </action>

    <action id="UserRegistrationRequestsMultipleCreate"
            link="/incl/userregistration/multiple_requests_create.xhtml"
            order="230" label="tab.userregistration.requests.multiple.create">
      <category>TAB_MANAGE_sub_tab</category>
      <filter-id>manage</filter-id>
      <filter-id>mutable_document</filter-id>
      <filter-id>view_content</filter-id>
    </action>

    <action id="UserRegistrationRequestsListingLocal"
            link="/incl/userregistration/requests_listing_local.xhtml"
            order="240" label="tab.userregistration.requests">
      <category>TAB_MANAGE_sub_tab</category>
      <filter-id>manage</filter-id>
      <filter-id>mutable_document</filter-id>
      <filter-id>view_content</filter-id>
      <filter id="displayRegistrationListingLocal">
        <rule grant="true">
          <condition>#{userRegistrationConfigurationActions.getRules('default_registration').isDisplayLocalTab()}
          </condition>
        </rule>
      </filter>
    </action>

    <action id="UserRegistrationDelete"
            link="${userRegistrationActions.deleteUserRegistration}"
            order="20" label="tab.userregistration.delete">
      <category>CURRENT_USER_REQUESTS_GLOBAL</category>
      <category>CURRENT_USER_REQUESTS_LOCAL</category>
      <filter id="canDeleteRegistration">
        <rule grant="true">
          <condition>#{userRegistrationActions.canDelete}</condition>
        </rule>
      </filter>
    </action>

    <action id="UserRegistrationRevive"
            link="${userRegistrationActions.reviveUserRegistration}"
            order="30" label="tab.userregistration.revive">
      <category>CURRENT_USER_REQUESTS_GLOBAL</category>
      <category>CURRENT_USER_REQUESTS_LOCAL</category>
      <filter id="canReviveRegistration">
        <rule grant="true">
          <condition>#{userRegistrationActions.canRevive}</condition>
        </rule>
      </filter>
    </action>

    <action id="UserRegistrationValidate"
            link="${userRegistrationActions.validateUserRegistration}"
            order="25" label="tab.userregistration.validate">
      <category>CURRENT_USER_REQUESTS_GLOBAL</category>
      <category>CURRENT_USER_REQUESTS_LOCAL</category>
      <filter-id>only_for_manager</filter-id>
      <filter id="canValidateRegistration">
        <rule grant="true">
          <condition>#{userRegistrationActions.canValidate}</condition>
        </rule>
      </filter>
    </action>

  </extension>

</component>